package com.auction.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.time.LocalDateTime;

@Data
@AllArgsConstructor
@NoArgsConstructor
@TableName(value = "user_addr")
public class UserAddr {
   @TableId(value = "addr_id",type = IdType.AUTO)
   private Integer addr_id;
   private int user_id;
   private String mobile;
   private int is_default;
   private String consignee;
   private int province_id;
   private String province;
   private int city_id;
   private String city;
   private int area_id;
   private String area;
   private String post_code;
   private String addr;
   private Double lng;
   private Double lat;

}
